package com.qf.service;

import com.github.pagehelper.PageInfo;
import com.qf.entity.NewsDetail;

/**
 * @author ASUS
 * @version V1.0
 * @Project work
 * @Package com.qf.service
 * @Date 2021/10/5 13:40
 */
public interface NewsDetailService {

    /**
     * 条件查询并分页
     * @param content
     * @param pageNum
     * @param pageSize
     * @return
     */
    PageInfo<NewsDetail> findByPage(String content, int pageNum, int pageSize);

    /**
     * 删除新闻
     * @param id
     */
    void delete(long id);

}
